package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffQuestionGradeDto
 * @使用场景
 */
@Data
public class BffQuestionGradeDto implements Serializable {

  /**
   * 问题等级标识
   */
  @ApiModelProperty("问题等级标识")
  private String questionGradeCode;

  /**
   * 问题等级名称
   */
  @ApiModelProperty("问题等级名称")
  private String questionGradeName;

  /**
   * 问题等级图标
   */
  @ApiModelProperty("问题等级图标")
  private String questionGradeIcon;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffQuestionGradeDto that = (BffQuestionGradeDto) o;
      return  questionGradeCode == that.questionGradeCode&&questionGradeName == that.questionGradeName&&questionGradeIcon == that.questionGradeIcon;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), questionGradeCode,questionGradeName,questionGradeIcon);
    }

}
